﻿using System;
using System.ServiceModel;
using ApplicationGenerator.Versions.BusinessLogic;

namespace WCFS
{
    public enum PROCESS_STATE
    {
        PROCESS_NOT_READY_YET,
        PROCESS_READY,
        PROCESS_TO_BE_STOPPED
    }
    

    [ServiceContract]
    public interface IServiceContract
    {
       

        [OperationContract]
        Guid CreateWorkflow(Guid _workflowType, int _instanceId);

        [OperationContract]
        VersionInfo GetPageToDisplay(Guid _workflowType, int workflowInstanceId);

        [OperationContract]
        void GoAhead(Guid _workflowType, int workflowInstanceId);

        [OperationContract]
        PROCESS_STATE IsNewPageToDisplay(Guid _workflowType, int workflowInstanceId);        
    }

}
